package cn.edu.bupt.scidata.mapper;

import cn.edu.bupt.scidata.model.team.Relation;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RelationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Relation record);

    Relation selectByPrimaryKey(Integer id);

    List<Relation> selectAll();

    int updateByPrimaryKey(Relation record);

    List<Relation> selectByTeamId(Integer team_id);
}